

#include "diode.h"

/**
 * @brief  单色发光二极管驱动
 * @param  None
 * @retval None
 */
void diodeInit(void)
{
    stc_port_init_t stcPortInit;
    MEM_ZERO_STRUCT(stcPortInit);
    stcPortInit.enPinMode = Pin_Mode_Out;
    PORT_Init(DIODE_PORT, DIODE_PIN, &stcPortInit); 
	DIODE_H;
}

